package cn.edu.scau.cmi.ema.service;

import cn.edu.scau.cmi.ema.base.CmiPagination;
import cn.edu.scau.cmi.ema.domain.Packingmethod;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface PackingmethodService {

	public Packingmethod savePackingmethod(Packingmethod packingmethod);

	public Set<Packingmethod> loadPackingmethods();

	public Set<Packingmethod> loadReferencePackingmethods(Set<Packingmethod> packingmethods);

	public Set<Packingmethod> loadPackingmethodsByIdSet(Set<Integer> packingmethodsId);

	public Map<String, ?> loadPackingmethodObjectReferencedSet(Packingmethod packingmethod);

	public Map<String, ?> loadPackingmethodClassReferencedSet(Packingmethod packingmethod);

	public void deletePackingmethod(Packingmethod packingmethod);

	public void deletePackingmethods(Set<Integer> deletePackingmethodsId);

	public List<Packingmethod> findAllPackingmethods(Integer startResult, Integer maxRows);

	public Packingmethod findPackingmethodByPrimaryKey(Integer id);

	public Integer countPackingmethods();

	public Integer countPackingmethods(CmiPagination page);

	public Integer countPackingmethodsByName(String queryName);

	public Integer countPackingmethodsByDetachedCriteria(CmiPagination page);

}
